/*公开课*/

.OpenClass {
    /*头部区域开始*/
    .header {
        .topbar {
            color: #8d8d8d;
            background: #f6f6f6;
            width: 100%;
            height: 35px;
            line-height: 35px;
            font-size: 12px;
            .topbarL {
                float: left;
                a {
                    color: #8d8d8d;
                }
            }
            .topbarR {
                float: right;
            }
        }
        .nav {
            background: #021E81;
            .ul {
                display: flex;
                .li {
                    cursor: pointer;
                    padding: 0 15px;
                    height: 50px;
                    line-height: 50px;
                    transition: all 0.8s;
                    a {
                        color: #fff;
                    }
                }
                .liF {
                    font-weight: bold;
                    background: #414DFE;
                }
                .li:hover {
                    font-weight: bold;
                    background: #414DFE;
                }
            }
        }
        .banner {
            width: 100%;
            .Img {
                width: 100%;
                display: flex;
                flex-direction: column;
                img {
                    width: 100%;
                    height: auto;
                    margin: 0;
                    border: none;
                }
            }
        }
    }
    /*头部区域结束*/
    /*近期公开课区域开始*/
    .recent {
        /*标题*/
        .titleBox {
            margin-bottom: 25px;
            padding-top: 70px;
            display: flex;
            justify-content: center;
            .title {
                display: inline-block;
                padding: 10px;
                box-sizing: border-box;
                font-size: 35px;
                color: #020202;
                font-weight: 100;
                position: relative;
                border-bottom: 2px solid #FC3D4B;
                span {
                    color: #fc3d4b;
                    font-weight: 900;
                }
                img {
                    width: 37px;
                    height: 43px;
                    position: absolute;
                    left: -18px;
                    top: -14px;
                }
            }
        }
        /*课程区域开始*/
        .course {
            ul {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr 1fr;
                grid-gap: 28px 0;
                li {
                    cursor: pointer;
                    padding-bottom: 28px;
                    border-bottom: solid 1px #dddddd;
                    padding-right: 20px;
                    box-sizing: border-box;
                    &:hover .li_top img {
                        transform: scale(1.1);
                    }
                    .li_top {
                        width: 100%;
                        height: 174px;
                        overflow: hidden;
                        img {
                            width: 100%;
                            height: auto;
                            transition: all 0.5s;
                        }
                    }
                    .li_center {
                        margin: 12px 0 16px;
                    }
                    .li_bottom {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        font-size: 14px;
                        span {
                            color: #fd3128;
                            .glyphicon {
                                margin-right: 5px;
                            }
                        }
                        a {
                            color: #fff;
                            padding: 6px 8px;
                            box-sizing: border-box;
                            display: inline-block;
                            background-color: #fd3128;
                        }
                    }
                }
            }
        }
        /*课程区域结束*/
        /*往期公开课开始*/
        .period {
            ul {
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-gap: 16px;
                li {
                    box-sizing: border-box;
                    border-radius: 6px;
                    padding: 10px;
                    background-color: #fff;
                    border: 1px solid #ebe8e8;
                    &:hover img {
                        transform: scale(1.1);
                    }
                    .Img {
                        position: relative;
                        width: 100%;
                        height: 302px;
                        overflow: hidden;
                        img {
                            width: 100%;
                            height: auto;
                            transition: all 0.5s;
                        }
                        .ImgBox {
                            width: 100%;
                            background: rgba(0, 0, 0, 0.6);
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            color: #fff;
                            box-sizing: border-box;
                            padding: 8px 26px;
                            h3 {
                                font-size: 18px;
                                line-height: 28px;
                            }
                            p {
                                line-height: 28px;
                                span {
                                    color: #F31C1C;
                                }
                            }
                        }
                    }
                    .TextP {
                        margin-top: 12px;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        span {
                            font-size: 18px;
                            line-height: 26px;
                            color: #3e3b3c;
                        }
                        a {
                            color: #F31C1C;
                            padding: 8px 12px;
                            box-sizing: border-box;
                            display: inline-block;
                            border-radius: 5px;
                            border: 1px solid #F31C1C;
                        }
                        a:hover {
                            color: #fff;
                            background: #F31C1C;
                        }
                    }
                }
            }
        }
        /*往期公开课结束*/
    }
    /*近期公开课区域结束*/
    /*底部内容结束*/
    .footer {
        overflow: hidden;
        margin-top: 50px;
        background: #276DC3;
        .nav {
            display: flex;
            .navLi {
                cursor: pointer;
                color: #fff;
                display: inline-block;
                height: 95px;
                line-height: 95px;
                font-size: 20px;
                padding: 0 15px;
                box-sizing: border-box;
            }
            .navLiA {
                background: #FF7403;
            }
        }
        .main {
            padding: 20px 0;
            box-sizing: border-box;
            display: grid;
            grid-template-columns: 715px 1fr;
            .main_left {
                ul li {
                    font-size: 16px;
                    text-align: left;
                    color: #fff;
                    font-weight: 100;
                    line-height: 28px;
                    span {
                        color: #ff7403;
                        font-size: 26px;
                    }
                }
            }
            .main_right {
                padding-left: 20px;
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                .box {
                    text-align: center;
                    font-size: 14px;
                    color: #fff;
                    .img {
                        margin: 0 auto;
                        width: 120px;
                        height: 120px;
                        padding: 3px;
                        box-sizing: border-box;
                        margin-bottom: 20px;
                        background: #fff;
                        img {
                            width: 100%;
                            height: auto;
                        }
                    }
                }
            }
        }
    }
    /*底部内容结束*/
}